From 57893ee298bbf01db9ce358605cbbd5e3c731514 Mon Sep 17 00:00:00 2001 From: Hollis Blanchard Date: Tue, 29 Aug 2006 14:18:23 -0500 Subject: [PATCH] [POWERPC][TOOLS] sync with start_info_t changes Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --- tools/libxc/powerpc64/xc_linux_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/powerpc64/xc_linux_build.c b/tools/libxc/powerpc64/xc_linux_build.c index 2624ed400f..af5ba6fa75 100644 --- a/tools/libxc/powerpc64/xc_linux_build.c +++ b/tools/libxc/powerpc64/xc_linux_build.c @@ -309,7 +309,7 @@ static unsigned long create_start_info(start_info_t *si, si->store_evtchn = store_evtchn; si->console.domU.mfn = si->nr_pages - 3; si->console.domU.evtchn = console_evtchn; - si_addr = eomem - (PAGE_SIZE * 4); + si_addr = si->nr_pages - 4; return si_addr; } @@ -388,7 +388,7 @@ int xc_linux_build(int xc_handle, } si_addr = create_start_info(&si, console_evtchn, store_evtchn); - *console_mfn = page_array[si.console_mfn]; + *console_mfn = page_array[si.console.domU.mfn]; *store_mfn = page_array[si.store_mfn]; if (install_image(xc_handle, domid, page_array, &si, si_addr, -- 2.30.2